//判断闰年还是平年
//
# include <stdio.h>

int main ()

{
	printf("请输入你要判断的年份：");
	int month = 0;
	scanf("%d",&month);

	if((month % 4 == 0 && month % 100 !=0) || (month % 400 == 0))
	{
		printf("%d年是闰年\n",month);
	}
	else
	{
		printf("%d年是平年\n",month);
	}

	return 0;
}

